local dishu = fk.CreateSkill {
  name = "lingling__dishu",
  tags = { Skill.Limited },
}

Fk:loadTranslationTable{
  ["lingling__dishu"] = "帝术",
  [":lingling__dishu"] = "限定技，出牌阶段，你可以视为使用【推心置腹】。",

  ["#lingling__dishu"] = "帝术：你可以视为使用【推心置腹】！",

  ["$lingling__dishu"] = "谁在幕后，看清楚了。",
  ["$lingling__dishu1"] = "彘子威权，加诸隆重典名，我取其二三，足以治民。",
  ["$lingling__dishu2"] = "神武怡刑，甚害贤惠士亲，我戒之八九，足以衡臣。",
}

dishu:addEffect("viewas", {
  anim_type = "control",
  prompt = "#lingling__dishu",
  card_filter = Util.FalseFunc,
  view_as = function(self, player, cards)
    if #cards ~= 0 then return end
    local card = Fk:cloneCard("sincere_treat")
    card.skillName = dishu.name
    return card
  end,
  enabled_at_play = function (self, player)
    return player:usedSkillTimes(dishu.name, Player.HistoryGame) == 0
  end,
})

return dishu
